package com.jie.other.ui.theme

import androidx.compose.material.MaterialTheme
import androidx.compose.material.lightColors
import androidx.compose.runtime.Composable

val lightColor = lightColors(
    primary = colorPrimary,
    primaryVariant = colorPrimaryDark,
    secondary = colorAccent,
)

val lightColorNew = lightColors(
    primary = colorPrimaryNew,
    primaryVariant = colorPrimaryDarkNew,
    secondary = colorAccentNew,
)

@Composable
fun OtherMaterialTheme(
    isNewColor: Boolean = false,
    content: @Composable () -> Unit
) {
    MaterialTheme(
        colors = if (isNewColor) lightColorNew else lightColor,
        typography = typography,
        content = content
    )
}